package org.csmz.xg2333.JiaoTong;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Bicycle bicycle = new Bicycle();
        for(int i = 1;i<=2;i++) {
            System.out.print("请输入变化的后的速度：");
            Scanner scanner = new Scanner(System.in);
            int v = scanner.nextInt();
            bicycle.print(v);
        }
        ElectricBicycle electricBicycle = new ElectricBicycle();
        for(int i = 1;i<=2;i++) {
            System.out.print("请输入变化的后的速度：");
            Scanner scanner = new Scanner(System.in);
            int v = scanner.nextInt();
            bicycle.print(v);
        }
        Car car = new Car();
        for(int i = 1;i<=2;i++) {
            System.out.print("请输入变化的后的速度：");
            Scanner scanner = new Scanner(System.in);
            int v = scanner.nextInt();
            bicycle.print(v);
        }
    }
}
